package unilearn.vo;

public class Mark implements java.io.Serializable {

    private Integer id;
    private String subjectCode;
    private int assignmentId;
    private int submissionId;
    private int markSheetId;
    private Integer mark;
    private String feedback;

    public Mark() {
        id = -1;
        assignmentId = -1;
        submissionId = -1;
        markSheetId = -1;
        mark = -1;
    }

    public Mark(String subjectCode, int assignmentId, int submissionId, int markSheetId, String feedback) {
        this.subjectCode = subjectCode;
        this.assignmentId = assignmentId;
        this.submissionId = submissionId;
        this.markSheetId = markSheetId;
        this.feedback = feedback;
    }

    public Mark(String subjectCode, int assignmentId, int submissionId, int markSheetId, Integer mark, String feedback) {
        this.subjectCode = subjectCode;
        this.assignmentId = assignmentId;
        this.submissionId = submissionId;
        this.markSheetId = markSheetId;
        this.mark = mark;
        this.feedback = feedback;
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSubjectCode() {
        return this.subjectCode;
    }

    public void setSubjectCode(String subjectCode) {
        this.subjectCode = subjectCode;
    }

    public int getAssignmentId() {
        return this.assignmentId;
    }

    public void setAssignmentId(int assignmentId) {
        this.assignmentId = assignmentId;
    }

    public int getSubmissionId() {
        return this.submissionId;
    }

    public void setSubmissionId(int submissionId) {
        this.submissionId = submissionId;
    }

    public int getMarkSheetId() {
        return this.markSheetId;
    }

    public void setMarkSheetId(int markSheetId) {
        this.markSheetId = markSheetId;
    }

    public Integer getMark() {
        return this.mark;
    }

    public void setMark(Integer mark) {
        this.mark = mark;
    }

    public String getFeedback() {
        return this.feedback;
    }

    public void setFeedback(String feedback) {
        this.feedback = feedback;
    }

    @Override
    public String toString() {
        return "Mark{" + "id=" + id + ", subjectCode=" + subjectCode + ", assignmentId=" + assignmentId + ", submissionId=" + submissionId + ", mark=" + mark + ", feedback=" + feedback + '}';
    }
}
